load("@com_google_protobuf//bazel:java_proto_library.bzl", "java_proto_library")
load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")

package(
    default_applicable_licenses = [
        "//:license",
    ],
    default_visibility = [
        "//common/src/test/java/dev/cel/common/internal:__pkg__",
    ],
)

filegroup(
    name = "resources",
    srcs = [
        "value.fds",
        "value.textproto",
    ],
)

proto_library(
    name = "default_instance_message_test_protos",
    srcs = [
        "enum_conflicting_name.proto",
        "message_conflicting_name.proto",
        "proto_java_api_version_1.proto",
        "proto_without_java_opts.proto",
    ],
)

java_proto_library(
    name = "default_instance_message_test_protos_java_proto",
    deps = [":default_instance_message_test_protos"],
)

proto_library(
    name = "service_conflicting_name_proto",
    srcs = [
        "service_conflicting_name.proto",
    ],
)

java_proto_library(
    name = "service_conflicting_name_java_proto",
    deps = [":service_conflicting_name_proto"],
)
